package Text;

import java.util.Scanner;

public class Text2 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int c=sc.nextInt();
        boolean flag=true;
        for(int i=2;i<c;i++){
            if(c%i==0){
                flag=false;
                break;
            }
        }
        if(flag){
            System.out.println("是素数");
        }else {
            System.out.println("不是素数");
        }
    }
}
